package noyau;

import java.io.Serializable;

public class Utilisateur implements Serializable {
    

private String mdp;
private int identifiant;
    private String pseudo;
    private Test te;
    private int score;

    public  Utilisateur(String pseudo,Test te,int score){

    this.pseudo=pseudo;
    this.te=te;
    this.score=score;
    
}

    public String getPseudo() {
        return pseudo;
    }

    public Test getTe() {
        return te;
    }

    public int getScore() {
        return score;
    }

    public String toString(){
        return (" "+pseudo+" a obtenu un score de "+score);
    }
}
